package com.demo.common.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.jfinal.plugin.activerecord.IBean;

import java.util.List;

/**
 * Created by jslx on 2017/4/1.
 */
public class School implements IBean{
    @JSONField(serialize=false)
    private List<Student> students;
    private String name;
    private Long id;

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
